package appapi.Request.bridge;

import appapi.common.PageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 实时数据请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/09/12 15:55
 */
@Data
@Api(tags = "实时数据请求对象")
public class RealDataPageReq extends PageReq {
    @ApiModelProperty(value = "实时数据id")
    private String equiNo;

    @ApiModelProperty(value = "查询日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;

}
